def judge(scores):
  sum = 0
  cout = 0
  for s in scores:
    sum += s
    cout += 1
  ave = sum / cout
  if ave >= 60:
    print("及格")
  else:
    print("不及格")

if __name__ == '__main__':
    scores = []
    while len(scores) < 3:
      scores.append(int(input("请输入成绩：")))
    judge(scores)
